﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace PracticaMVC4.Controllers
{
    public class ManejoPersonasController : Controller
    {

        [HttpGet]
        public ActionResult FormularioPersona()
        {
            return View();
        }

        [HttpPost]
        public ActionResult FormularioPersona(PracticaMVC4.Models.Persona persona)
        {
            if (ModelState.IsValid)
            {
                if (persona.ID.ToString().Length < 9)
                {
                    
                }
            }
            return View();
        }

    }
}
